package com.abhinav.designPatterns.builder;

// Product
public class Meal {
	
	private String drink;
	
	private String main;
	
	private String dessert;

	/**
	 * @return the drink
	 */
	public String getDrink() {
		return drink;
	}

	/**
	 * @param drink the drink to set
	 */
	public void setDrink(String drink) {
		this.drink = drink;
	}

	/**
	 * @return the main
	 */
	public String getMain() {
		return main;
	}

	/**
	 * @param main the main to set
	 */
	public void setMain(String main) {
		this.main = main;
	}

	/**
	 * @return the dessert
	 */
	public String getDessert() {
		return dessert;
	}

	/**
	 * @param dessert the dessert to set
	 */
	public void setDessert(String dessert) {
		this.dessert = dessert;
	}
	
	@Override
	public String toString() {
		return "Drink: "+drink+"\nMain Course: "+main + "\nDessert: "+(dessert==null?"No Dessert":dessert);
	}

}
